package com.dragon.modules.yuegou.query.message;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.dragon.modules.yuegou.entity.message.PushEntity;
import com.dragon.modules.yuegou.enums.Platform;
import com.dragon.modules.yuegou.enums.message.PushStatus;
import com.dragon.modules.yuegou.mybatis.Condition;
import com.dragon.modules.yuegou.mybatis.Query;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonUnwrapped;

import java.time.LocalDateTime;

/**
 * 消息推送 动态查询条件
 * 
 * @author pbuilder generated
 * @date 2019-04-18 11:24:16
 * @version 2.0
 */
@JsonInclude(Include.NON_NULL)
public class PushQuery extends PushEntity implements Query<PushEntity> {

    /** 查询条件 */
	@JsonUnwrapped(prefix = "id")
	private Condition<String> idCondition;

    /** [全局枚举]平台：0-悦商圈-YSQ_APP、1-悦购-YSQ_XCX、2-悦商惠小程序-YSQ_MERCHANT_XCX、3-集团版-YSQ_GROUP、4-大运营平台-YSQ_PLATFORM查询条件 */
	@JsonUnwrapped(prefix = "platform")
	private Condition<Platform> platformCondition;

    /** 推送标题查询条件 */
	@JsonUnwrapped(prefix = "title")
	private Condition<String> titleCondition;

    /** 消息模板ID查询条件 */
	@JsonUnwrapped(prefix = "templateId")
	private Condition<String> templateIdCondition;

    /** 参数值列表，使用|隔开，参数本身不允许使用|查询条件 */
	@JsonUnwrapped(prefix = "argValues")
	private Condition<String> argValuesCondition;

    /** 标题参数值列表，以|隔开查询条件 */
	@JsonUnwrapped(prefix = "titleArgValues")
	private Condition<String> titleArgValuesCondition;

    /** 跳转地址参数值列表，以|隔开查询条件 */
	@JsonUnwrapped(prefix = "urlArgValues")
	private Condition<String> urlArgValuesCondition;

    /** 集团条件查询条件 */
	@JsonUnwrapped(prefix = "groupId")
	private Condition<String> groupIdCondition;

    /** 商圈条件查询条件 */
	@JsonUnwrapped(prefix = "busdId")
	private Condition<String> busdIdCondition;

    /** 标签条件，以|逗号隔开，首尾加上|，多个标签取并集，最多允许10个标签。查询条件 */
	@JsonUnwrapped(prefix = "tags")
	private Condition<String> tagsCondition;

    /** 标签条件，以|逗号隔开，首尾加上|，多个标签取交集，最多允许10个标签。查询条件 */
	@JsonUnwrapped(prefix = "tagsAnd")
	private Condition<String> tagsAndCondition;

    /** 标签条件，以|逗号隔开，首尾加上|，多个标签先取并集再取补集，最多允许10个标签。查询条件 */
	@JsonUnwrapped(prefix = "tagsNot")
	private Condition<String> tagsNotCondition;

    /** 是否支持系统消息查询条件 */
	@JsonUnwrapped(prefix = "supportSystem")
	private Condition<Boolean> supportSystemCondition;

    /** 是否支持短信推送查询条件 */
	@JsonUnwrapped(prefix = "supportSms")
	private Condition<Boolean> supportSmsCondition;

    /** 是否支持邮件推送查询条件 */
	@JsonUnwrapped(prefix = "supportEmail")
	private Condition<Boolean> supportEmailCondition;

    /** 是否支持极光推送查询条件 */
	@JsonUnwrapped(prefix = "supportJpush")
	private Condition<Boolean> supportJpushCondition;

    /** 支持微信公众号推送查询条件 */
	@JsonUnwrapped(prefix = "supportWechat")
	private Condition<Boolean> supportWechatCondition;

    /** 计划推送时间查询条件 */
	@JsonUnwrapped(prefix = "scheduleTime")
	private Condition<LocalDateTime> scheduleTimeCondition;

    /** 推送成功人数查询条件 */
	@JsonUnwrapped(prefix = "succeedNum")
	private Condition<Integer> succeedNumCondition;

    /** 推送失败人数查询条件 */
	@JsonUnwrapped(prefix = "failedNum")
	private Condition<Integer> failedNumCondition;

    /** [枚举]状态：0-暂存-TEMP、1-计划中-PLANNING、2-已推送-PUSHED查询条件 */
	@JsonUnwrapped(prefix = "status")
	private Condition<PushStatus> statusCondition;

    /** 创建人ID查询条件 */
	@JsonUnwrapped(prefix = "createdBy")
	private Condition<String> createdByCondition;

    /** 创建时间查询条件 */
	@JsonUnwrapped(prefix = "createdTime")
	private Condition<LocalDateTime> createdTimeCondition;

    /** 更新人ID查询条件 */
	@JsonUnwrapped(prefix = "modifiedBy")
	private Condition<String> modifiedByCondition;

    /** 更新时间查询条件 */
	@JsonUnwrapped(prefix = "modifiedTime")
	private Condition<LocalDateTime> modifiedTimeCondition;

    /** 是否删除查询条件 */
	@JsonUnwrapped(prefix = "del")
	private Condition<Boolean> delCondition;

    /** 删除人ID查询条件 */
	@JsonUnwrapped(prefix = "delBy")
	private Condition<String> delByCondition;

    /** 删除时间查询条件 */
	@JsonUnwrapped(prefix = "delTime")
	private Condition<LocalDateTime> delTimeCondition;

	/**
	 * 构造一个查询条件对象
	 */
	public PushQuery() {
		super();
	}

	/**
	 * 依据实体对象构造一个查询条件对象
	 * 
	 * @param entity 实体对象
	 */
	public PushQuery(PushEntity entity) {
		super(entity);
	}

	/**
	 * 依据其它查询条件对象的信息构造一个查询条件对象
	 * 
	 * @param other 查询条件对象
	 */
	public PushQuery(PushQuery other) {
		super(other);
		if(other.idCondition != null) {
			this.idCondition = other.idCondition.copy();
		}
		if(other.platformCondition != null) {
			this.platformCondition = other.platformCondition.copy();
		}
		if(other.titleCondition != null) {
			this.titleCondition = other.titleCondition.copy();
		}
		if(other.templateIdCondition != null) {
			this.templateIdCondition = other.templateIdCondition.copy();
		}
		if(other.argValuesCondition != null) {
			this.argValuesCondition = other.argValuesCondition.copy();
		}
		if(other.titleArgValuesCondition != null) {
			this.titleArgValuesCondition = other.titleArgValuesCondition.copy();
		}
		if(other.urlArgValuesCondition != null) {
			this.urlArgValuesCondition = other.urlArgValuesCondition.copy();
		}
		if(other.groupIdCondition != null) {
			this.groupIdCondition = other.groupIdCondition.copy();
		}
		if(other.busdIdCondition != null) {
			this.busdIdCondition = other.busdIdCondition.copy();
		}
		if(other.tagsCondition != null) {
			this.tagsCondition = other.tagsCondition.copy();
		}
		if(other.tagsAndCondition != null) {
			this.tagsAndCondition = other.tagsAndCondition.copy();
		}
		if(other.tagsNotCondition != null) {
			this.tagsNotCondition = other.tagsNotCondition.copy();
		}
		if(other.supportSystemCondition != null) {
			this.supportSystemCondition = other.supportSystemCondition.copy();
		}
		if(other.supportSmsCondition != null) {
			this.supportSmsCondition = other.supportSmsCondition.copy();
		}
		this.setOther(other);
	}
	private void setOther(PushQuery other){
		if(other.supportEmailCondition != null) {
			this.supportEmailCondition = other.supportEmailCondition.copy();
		}
		if(other.supportJpushCondition != null) {
			this.supportJpushCondition = other.supportJpushCondition.copy();
		}
		if(other.supportWechatCondition != null) {
			this.supportWechatCondition = other.supportWechatCondition.copy();
		}
		if(other.scheduleTimeCondition != null) {
			this.scheduleTimeCondition = other.scheduleTimeCondition.copy();
		}
		if(other.succeedNumCondition != null) {
			this.succeedNumCondition = other.succeedNumCondition.copy();
		}
		if(other.failedNumCondition != null) {
			this.failedNumCondition = other.failedNumCondition.copy();
		}
		if(other.statusCondition != null) {
			this.statusCondition = other.statusCondition.copy();
		}
		if(other.createdByCondition != null) {
			this.createdByCondition = other.createdByCondition.copy();
		}
		if(other.createdTimeCondition != null) {
			this.createdTimeCondition = other.createdTimeCondition.copy();
		}
		if(other.modifiedByCondition != null) {
			this.modifiedByCondition = other.modifiedByCondition.copy();
		}
		if(other.modifiedTimeCondition != null) {
			this.modifiedTimeCondition = other.modifiedTimeCondition.copy();
		}
		if(other.delCondition != null) {
			this.delCondition = other.delCondition.copy();
		}
		if(other.delByCondition != null) {
			this.delByCondition = other.delByCondition.copy();
		}
		if(other.delTimeCondition != null) {
			this.delTimeCondition = other.delTimeCondition.copy();
		}
	}

	@Override
	public QueryWrapper<PushEntity> toQueryWrapper() {
		QueryWrapper<PushEntity> wrapper = new QueryWrapper<>(this);
		if (idCondition != null) {
			idCondition.toWrapper(wrapper, COL_ID);
		}
		if (platformCondition != null) {
			platformCondition.toWrapper(wrapper, COL_PLATFORM);
		}
		if (titleCondition != null) {
			titleCondition.toWrapper(wrapper, COL_TITLE);
		}
		if (templateIdCondition != null) {
			templateIdCondition.toWrapper(wrapper, COL_TEMPLATE_ID);
		}
		if (argValuesCondition != null) {
			argValuesCondition.toWrapper(wrapper, COL_ARG_VALUES);
		}
		if (titleArgValuesCondition != null) {
			titleArgValuesCondition.toWrapper(wrapper, COL_TITLE_ARG_VALUES);
		}
		if (urlArgValuesCondition != null) {
			urlArgValuesCondition.toWrapper(wrapper, COL_URL_ARG_VALUES);
		}
		if (groupIdCondition != null) {
			groupIdCondition.toWrapper(wrapper, COL_GROUP_ID);
		}
		if (busdIdCondition != null) {
			busdIdCondition.toWrapper(wrapper, COL_BUSD_ID);
		}
		if (tagsCondition != null) {
			tagsCondition.toWrapper(wrapper, COL_TAGS);
		}
		if (tagsAndCondition != null) {
			tagsAndCondition.toWrapper(wrapper, COL_TAGS_AND);
		}
		if (tagsNotCondition != null) {
			tagsNotCondition.toWrapper(wrapper, COL_TAGS_NOT);
		}
		if (supportSystemCondition != null) {
			supportSystemCondition.toWrapper(wrapper, COL_SUPPORT_SYSTEM);
		}
		if (supportSmsCondition != null) {
			supportSmsCondition.toWrapper(wrapper, COL_SUPPORT_SMS);
		}
		return getQueryWrapper(wrapper);
	}

	private QueryWrapper<PushEntity> getQueryWrapper(QueryWrapper<PushEntity> wrapper){
		if (supportEmailCondition != null) {
			supportEmailCondition.toWrapper(wrapper, COL_SUPPORT_EMAIL);
		}
		if (supportJpushCondition != null) {
			supportJpushCondition.toWrapper(wrapper, COL_SUPPORT_JPUSH);
		}
		if (supportWechatCondition != null) {
			supportWechatCondition.toWrapper(wrapper, COL_SUPPORT_WECHAT);
		}
		if (scheduleTimeCondition != null) {
			scheduleTimeCondition.toWrapper(wrapper, COL_SCHEDULE_TIME);
		}
		if (succeedNumCondition != null) {
			succeedNumCondition.toWrapper(wrapper, COL_SUCCEED_NUM);
		}
		if (failedNumCondition != null) {
			failedNumCondition.toWrapper(wrapper, COL_FAILED_NUM);
		}
		if (statusCondition != null) {
			statusCondition.toWrapper(wrapper, COL_STATUS);
		}
		if (createdByCondition != null) {
			createdByCondition.toWrapper(wrapper, COL_CREATED_BY);
		}
		if (createdTimeCondition != null) {
			createdTimeCondition.toWrapper(wrapper, COL_CREATED_TIME);
		}
		if (modifiedByCondition != null) {
			modifiedByCondition.toWrapper(wrapper, COL_MODIFIED_BY);
		}
		if (modifiedTimeCondition != null) {
			modifiedTimeCondition.toWrapper(wrapper, COL_MODIFIED_TIME);
		}
		if (delCondition != null) {
			delCondition.toWrapper(wrapper, COL_DEL);
		}
		if (delByCondition != null) {
			delByCondition.toWrapper(wrapper, COL_DEL_BY);
		}
		if (delTimeCondition != null) {
			delTimeCondition.toWrapper(wrapper, COL_DEL_TIME);
		}
		return wrapper;
	}

	/**
	 * 构造并返回查询条件
	 * 
	 * @return idCondition 查询条件
	 */
	public Condition<String> id() {
		this.idCondition = new Condition<>();
		return this.idCondition;
	}
	
	/**
	 * 获取查询条件
	 * 
	 * @return idCondition 查询条件
	 */
	public Condition<String> getIdCondition() {
		return idCondition;
	}

	/**
	 * 设置查询条件
	 * 
	 * @param idCondition 查询条件
	 */
	public void setIdCondition(Condition<String> idCondition) {
		this.idCondition = idCondition;
	}

	/**
	 * 构造并返回[全局枚举]平台：0-悦商圈-YSQ_APP、1-悦购-YSQ_XCX、2-悦商惠小程序-YSQ_MERCHANT_XCX、3-集团版-YSQ_GROUP、4-大运营平台-YSQ_PLATFORM查询条件
	 * 
	 * @return platformCondition [全局枚举]平台：0-悦商圈-YSQ_APP、1-悦购-YSQ_XCX、2-悦商惠小程序-YSQ_MERCHANT_XCX、3-集团版-YSQ_GROUP、4-大运营平台-YSQ_PLATFORM查询条件
	 */
	public Condition<Platform> platform() {
		this.platformCondition = new Condition<>();
		return this.platformCondition;
	}
	
	/**
	 * 获取[全局枚举]平台：0-悦商圈-YSQ_APP、1-悦购-YSQ_XCX、2-悦商惠小程序-YSQ_MERCHANT_XCX、3-集团版-YSQ_GROUP、4-大运营平台-YSQ_PLATFORM查询条件
	 * 
	 * @return platformCondition [全局枚举]平台：0-悦商圈-YSQ_APP、1-悦购-YSQ_XCX、2-悦商惠小程序-YSQ_MERCHANT_XCX、3-集团版-YSQ_GROUP、4-大运营平台-YSQ_PLATFORM查询条件
	 */
	public Condition<Platform> getPlatformCondition() {
		return platformCondition;
	}

	/**
	 * 设置[全局枚举]平台：0-悦商圈-YSQ_APP、1-悦购-YSQ_XCX、2-悦商惠小程序-YSQ_MERCHANT_XCX、3-集团版-YSQ_GROUP、4-大运营平台-YSQ_PLATFORM查询条件
	 * 
	 * @param platformCondition [全局枚举]平台：0-悦商圈-YSQ_APP、1-悦购-YSQ_XCX、2-悦商惠小程序-YSQ_MERCHANT_XCX、3-集团版-YSQ_GROUP、4-大运营平台-YSQ_PLATFORM查询条件
	 */
	public void setPlatformCondition(Condition<Platform> platformCondition) {
		this.platformCondition = platformCondition;
	}

	/**
	 * 构造并返回推送标题查询条件
	 * 
	 * @return titleCondition 推送标题查询条件
	 */
	public Condition<String> title() {
		this.titleCondition = new Condition<>();
		return this.titleCondition;
	}
	
	/**
	 * 获取推送标题查询条件
	 * 
	 * @return titleCondition 推送标题查询条件
	 */
	public Condition<String> getTitleCondition() {
		return titleCondition;
	}

	/**
	 * 设置推送标题查询条件
	 * 
	 * @param titleCondition 推送标题查询条件
	 */
	public void setTitleCondition(Condition<String> titleCondition) {
		this.titleCondition = titleCondition;
	}

	/**
	 * 构造并返回消息模板ID查询条件
	 * 
	 * @return templateIdCondition 消息模板ID查询条件
	 */
	public Condition<String> templateId() {
		this.templateIdCondition = new Condition<>();
		return this.templateIdCondition;
	}
	
	/**
	 * 获取消息模板ID查询条件
	 * 
	 * @return templateIdCondition 消息模板ID查询条件
	 */
	public Condition<String> getTemplateIdCondition() {
		return templateIdCondition;
	}

	/**
	 * 设置消息模板ID查询条件
	 * 
	 * @param templateIdCondition 消息模板ID查询条件
	 */
	public void setTemplateIdCondition(Condition<String> templateIdCondition) {
		this.templateIdCondition = templateIdCondition;
	}

	/**
	 * 构造并返回参数值列表，使用|隔开，参数本身不允许使用|查询条件
	 * 
	 * @return argValuesCondition 参数值列表，使用|隔开，参数本身不允许使用|查询条件
	 */
	public Condition<String> argValues() {
		this.argValuesCondition = new Condition<>();
		return this.argValuesCondition;
	}
	
	/**
	 * 获取参数值列表，使用|隔开，参数本身不允许使用|查询条件
	 * 
	 * @return argValuesCondition 参数值列表，使用|隔开，参数本身不允许使用|查询条件
	 */
	public Condition<String> getArgValuesCondition() {
		return argValuesCondition;
	}

	/**
	 * 设置参数值列表，使用|隔开，参数本身不允许使用|查询条件
	 * 
	 * @param argValuesCondition 参数值列表，使用|隔开，参数本身不允许使用|查询条件
	 */
	public void setArgValuesCondition(Condition<String> argValuesCondition) {
		this.argValuesCondition = argValuesCondition;
	}

	/**
	 * 构造并返回标题参数值列表，以|隔开查询条件
	 * 
	 * @return titleArgValuesCondition 标题参数值列表，以|隔开查询条件
	 */
	public Condition<String> titleArgValues() {
		this.titleArgValuesCondition = new Condition<>();
		return this.titleArgValuesCondition;
	}
	
	/**
	 * 获取标题参数值列表，以|隔开查询条件
	 * 
	 * @return titleArgValuesCondition 标题参数值列表，以|隔开查询条件
	 */
	public Condition<String> getTitleArgValuesCondition() {
		return titleArgValuesCondition;
	}

	/**
	 * 设置标题参数值列表，以|隔开查询条件
	 * 
	 * @param titleArgValuesCondition 标题参数值列表，以|隔开查询条件
	 */
	public void setTitleArgValuesCondition(Condition<String> titleArgValuesCondition) {
		this.titleArgValuesCondition = titleArgValuesCondition;
	}

	/**
	 * 构造并返回跳转地址参数值列表，以|隔开查询条件
	 * 
	 * @return urlArgValuesCondition 跳转地址参数值列表，以|隔开查询条件
	 */
	public Condition<String> urlArgValues() {
		this.urlArgValuesCondition = new Condition<>();
		return this.urlArgValuesCondition;
	}
	
	/**
	 * 获取跳转地址参数值列表，以|隔开查询条件
	 * 
	 * @return urlArgValuesCondition 跳转地址参数值列表，以|隔开查询条件
	 */
	public Condition<String> getUrlArgValuesCondition() {
		return urlArgValuesCondition;
	}

	/**
	 * 设置跳转地址参数值列表，以|隔开查询条件
	 * 
	 * @param urlArgValuesCondition 跳转地址参数值列表，以|隔开查询条件
	 */
	public void setUrlArgValuesCondition(Condition<String> urlArgValuesCondition) {
		this.urlArgValuesCondition = urlArgValuesCondition;
	}

	/**
	 * 构造并返回集团条件查询条件
	 * 
	 * @return groupIdCondition 集团条件查询条件
	 */
	public Condition<String> groupId() {
		this.groupIdCondition = new Condition<>();
		return this.groupIdCondition;
	}
	
	/**
	 * 获取集团条件查询条件
	 * 
	 * @return groupIdCondition 集团条件查询条件
	 */
	public Condition<String> getGroupIdCondition() {
		return groupIdCondition;
	}

	/**
	 * 设置集团条件查询条件
	 * 
	 * @param groupIdCondition 集团条件查询条件
	 */
	public void setGroupIdCondition(Condition<String> groupIdCondition) {
		this.groupIdCondition = groupIdCondition;
	}

	/**
	 * 构造并返回商圈条件查询条件
	 * 
	 * @return busdIdCondition 商圈条件查询条件
	 */
	public Condition<String> busdId() {
		this.busdIdCondition = new Condition<>();
		return this.busdIdCondition;
	}
	
	/**
	 * 获取商圈条件查询条件
	 * 
	 * @return busdIdCondition 商圈条件查询条件
	 */
	public Condition<String> getBusdIdCondition() {
		return busdIdCondition;
	}

	/**
	 * 设置商圈条件查询条件
	 * 
	 * @param busdIdCondition 商圈条件查询条件
	 */
	public void setBusdIdCondition(Condition<String> busdIdCondition) {
		this.busdIdCondition = busdIdCondition;
	}

	/**
	 * 构造并返回标签条件，以|逗号隔开，首尾加上|，多个标签取并集，最多允许10个标签。查询条件
	 * 
	 * @return tagsCondition 标签条件，以|逗号隔开，首尾加上|，多个标签取并集，最多允许10个标签。查询条件
	 */
	public Condition<String> tags() {
		this.tagsCondition = new Condition<>();
		return this.tagsCondition;
	}
	
	/**
	 * 获取标签条件，以|逗号隔开，首尾加上|，多个标签取并集，最多允许10个标签。查询条件
	 * 
	 * @return tagsCondition 标签条件，以|逗号隔开，首尾加上|，多个标签取并集，最多允许10个标签。查询条件
	 */
	public Condition<String> getTagsCondition() {
		return tagsCondition;
	}

	/**
	 * 设置标签条件，以|逗号隔开，首尾加上|，多个标签取并集，最多允许10个标签。查询条件
	 * 
	 * @param tagsCondition 标签条件，以|逗号隔开，首尾加上|，多个标签取并集，最多允许10个标签。查询条件
	 */
	public void setTagsCondition(Condition<String> tagsCondition) {
		this.tagsCondition = tagsCondition;
	}

	/**
	 * 构造并返回标签条件，以|逗号隔开，首尾加上|，多个标签取交集，最多允许10个标签。查询条件
	 * 
	 * @return tagsAndCondition 标签条件，以|逗号隔开，首尾加上|，多个标签取交集，最多允许10个标签。查询条件
	 */
	public Condition<String> tagsAnd() {
		this.tagsAndCondition = new Condition<>();
		return this.tagsAndCondition;
	}
	
	/**
	 * 获取标签条件，以|逗号隔开，首尾加上|，多个标签取交集，最多允许10个标签。查询条件
	 * 
	 * @return tagsAndCondition 标签条件，以|逗号隔开，首尾加上|，多个标签取交集，最多允许10个标签。查询条件
	 */
	public Condition<String> getTagsAndCondition() {
		return tagsAndCondition;
	}

	/**
	 * 设置标签条件，以|逗号隔开，首尾加上|，多个标签取交集，最多允许10个标签。查询条件
	 * 
	 * @param tagsAndCondition 标签条件，以|逗号隔开，首尾加上|，多个标签取交集，最多允许10个标签。查询条件
	 */
	public void setTagsAndCondition(Condition<String> tagsAndCondition) {
		this.tagsAndCondition = tagsAndCondition;
	}

	/**
	 * 构造并返回标签条件，以|逗号隔开，首尾加上|，多个标签先取并集再取补集，最多允许10个标签。查询条件
	 * 
	 * @return tagsNotCondition 标签条件，以|逗号隔开，首尾加上|，多个标签先取并集再取补集，最多允许10个标签。查询条件
	 */
	public Condition<String> tagsNot() {
		this.tagsNotCondition = new Condition<>();
		return this.tagsNotCondition;
	}
	
	/**
	 * 获取标签条件，以|逗号隔开，首尾加上|，多个标签先取并集再取补集，最多允许10个标签。查询条件
	 * 
	 * @return tagsNotCondition 标签条件，以|逗号隔开，首尾加上|，多个标签先取并集再取补集，最多允许10个标签。查询条件
	 */
	public Condition<String> getTagsNotCondition() {
		return tagsNotCondition;
	}

	/**
	 * 设置标签条件，以|逗号隔开，首尾加上|，多个标签先取并集再取补集，最多允许10个标签。查询条件
	 * 
	 * @param tagsNotCondition 标签条件，以|逗号隔开，首尾加上|，多个标签先取并集再取补集，最多允许10个标签。查询条件
	 */
	public void setTagsNotCondition(Condition<String> tagsNotCondition) {
		this.tagsNotCondition = tagsNotCondition;
	}

	/**
	 * 构造并返回是否支持系统消息查询条件
	 * 
	 * @return supportSystemCondition 是否支持系统消息查询条件
	 */
	public Condition<Boolean> supportSystem() {
		this.supportSystemCondition = new Condition<>();
		return this.supportSystemCondition;
	}
	
	/**
	 * 获取是否支持系统消息查询条件
	 * 
	 * @return supportSystemCondition 是否支持系统消息查询条件
	 */
	public Condition<Boolean> getSupportSystemCondition() {
		return supportSystemCondition;
	}

	/**
	 * 设置是否支持系统消息查询条件
	 * 
	 * @param supportSystemCondition 是否支持系统消息查询条件
	 */
	public void setSupportSystemCondition(Condition<Boolean> supportSystemCondition) {
		this.supportSystemCondition = supportSystemCondition;
	}

	/**
	 * 构造并返回是否支持短信推送查询条件
	 * 
	 * @return supportSmsCondition 是否支持短信推送查询条件
	 */
	public Condition<Boolean> supportSms() {
		this.supportSmsCondition = new Condition<>();
		return this.supportSmsCondition;
	}
	
	/**
	 * 获取是否支持短信推送查询条件
	 * 
	 * @return supportSmsCondition 是否支持短信推送查询条件
	 */
	public Condition<Boolean> getSupportSmsCondition() {
		return supportSmsCondition;
	}

	/**
	 * 设置是否支持短信推送查询条件
	 * 
	 * @param supportSmsCondition 是否支持短信推送查询条件
	 */
	public void setSupportSmsCondition(Condition<Boolean> supportSmsCondition) {
		this.supportSmsCondition = supportSmsCondition;
	}

	/**
	 * 构造并返回是否支持邮件推送查询条件
	 * 
	 * @return supportEmailCondition 是否支持邮件推送查询条件
	 */
	public Condition<Boolean> supportEmail() {
		this.supportEmailCondition = new Condition<>();
		return this.supportEmailCondition;
	}
	
	/**
	 * 获取是否支持邮件推送查询条件
	 * 
	 * @return supportEmailCondition 是否支持邮件推送查询条件
	 */
	public Condition<Boolean> getSupportEmailCondition() {
		return supportEmailCondition;
	}

	/**
	 * 设置是否支持邮件推送查询条件
	 * 
	 * @param supportEmailCondition 是否支持邮件推送查询条件
	 */
	public void setSupportEmailCondition(Condition<Boolean> supportEmailCondition) {
		this.supportEmailCondition = supportEmailCondition;
	}

	/**
	 * 构造并返回是否支持极光推送查询条件
	 * 
	 * @return supportJpushCondition 是否支持极光推送查询条件
	 */
	public Condition<Boolean> supportJpush() {
		this.supportJpushCondition = new Condition<>();
		return this.supportJpushCondition;
	}
	
	/**
	 * 获取是否支持极光推送查询条件
	 * 
	 * @return supportJpushCondition 是否支持极光推送查询条件
	 */
	public Condition<Boolean> getSupportJpushCondition() {
		return supportJpushCondition;
	}

	/**
	 * 设置是否支持极光推送查询条件
	 * 
	 * @param supportJpushCondition 是否支持极光推送查询条件
	 */
	public void setSupportJpushCondition(Condition<Boolean> supportJpushCondition) {
		this.supportJpushCondition = supportJpushCondition;
	}

	/**
	 * 构造并返回支持微信公众号推送查询条件
	 * 
	 * @return supportWechatCondition 支持微信公众号推送查询条件
	 */
	public Condition<Boolean> supportWechat() {
		this.supportWechatCondition = new Condition<>();
		return this.supportWechatCondition;
	}
	
	/**
	 * 获取支持微信公众号推送查询条件
	 * 
	 * @return supportWechatCondition 支持微信公众号推送查询条件
	 */
	public Condition<Boolean> getSupportWechatCondition() {
		return supportWechatCondition;
	}

	/**
	 * 设置支持微信公众号推送查询条件
	 * 
	 * @param supportWechatCondition 支持微信公众号推送查询条件
	 */
	public void setSupportWechatCondition(Condition<Boolean> supportWechatCondition) {
		this.supportWechatCondition = supportWechatCondition;
	}

	/**
	 * 构造并返回计划推送时间查询条件
	 * 
	 * @return scheduleTimeCondition 计划推送时间查询条件
	 */
	public Condition<LocalDateTime> scheduleTime() {
		this.scheduleTimeCondition = new Condition<>();
		return this.scheduleTimeCondition;
	}
	
	/**
	 * 获取计划推送时间查询条件
	 * 
	 * @return scheduleTimeCondition 计划推送时间查询条件
	 */
	public Condition<LocalDateTime> getScheduleTimeCondition() {
		return scheduleTimeCondition;
	}

	/**
	 * 设置计划推送时间查询条件
	 * 
	 * @param scheduleTimeCondition 计划推送时间查询条件
	 */
	public void setScheduleTimeCondition(Condition<LocalDateTime> scheduleTimeCondition) {
		this.scheduleTimeCondition = scheduleTimeCondition;
	}

	/**
	 * 构造并返回推送成功人数查询条件
	 * 
	 * @return succeedNumCondition 推送成功人数查询条件
	 */
	public Condition<Integer> succeedNum() {
		this.succeedNumCondition = new Condition<>();
		return this.succeedNumCondition;
	}
	
	/**
	 * 获取推送成功人数查询条件
	 * 
	 * @return succeedNumCondition 推送成功人数查询条件
	 */
	public Condition<Integer> getSucceedNumCondition() {
		return succeedNumCondition;
	}

	/**
	 * 设置推送成功人数查询条件
	 * 
	 * @param succeedNumCondition 推送成功人数查询条件
	 */
	public void setSucceedNumCondition(Condition<Integer> succeedNumCondition) {
		this.succeedNumCondition = succeedNumCondition;
	}

	/**
	 * 构造并返回推送失败人数查询条件
	 * 
	 * @return failedNumCondition 推送失败人数查询条件
	 */
	public Condition<Integer> failedNum() {
		this.failedNumCondition = new Condition<>();
		return this.failedNumCondition;
	}
	
	/**
	 * 获取推送失败人数查询条件
	 * 
	 * @return failedNumCondition 推送失败人数查询条件
	 */
	public Condition<Integer> getFailedNumCondition() {
		return failedNumCondition;
	}

	/**
	 * 设置推送失败人数查询条件
	 * 
	 * @param failedNumCondition 推送失败人数查询条件
	 */
	public void setFailedNumCondition(Condition<Integer> failedNumCondition) {
		this.failedNumCondition = failedNumCondition;
	}

	/**
	 * 构造并返回[枚举]状态：0-暂存-TEMP、1-计划中-PLANNING、2-已推送-PUSHED查询条件
	 * 
	 * @return statusCondition [枚举]状态：0-暂存-TEMP、1-计划中-PLANNING、2-已推送-PUSHED查询条件
	 */
	public Condition<PushStatus> status() {
		this.statusCondition = new Condition<>();
		return this.statusCondition;
	}
	
	/**
	 * 获取[枚举]状态：0-暂存-TEMP、1-计划中-PLANNING、2-已推送-PUSHED查询条件
	 * 
	 * @return statusCondition [枚举]状态：0-暂存-TEMP、1-计划中-PLANNING、2-已推送-PUSHED查询条件
	 */
	public Condition<PushStatus> getStatusCondition() {
		return statusCondition;
	}

	/**
	 * 设置[枚举]状态：0-暂存-TEMP、1-计划中-PLANNING、2-已推送-PUSHED查询条件
	 * 
	 * @param statusCondition [枚举]状态：0-暂存-TEMP、1-计划中-PLANNING、2-已推送-PUSHED查询条件
	 */
	public void setStatusCondition(Condition<PushStatus> statusCondition) {
		this.statusCondition = statusCondition;
	}

	/**
	 * 构造并返回创建人ID查询条件
	 * 
	 * @return createdByCondition 创建人ID查询条件
	 */
	public Condition<String> createdBy() {
		this.createdByCondition = new Condition<>();
		return this.createdByCondition;
	}
	
	/**
	 * 获取创建人ID查询条件
	 * 
	 * @return createdByCondition 创建人ID查询条件
	 */
	public Condition<String> getCreatedByCondition() {
		return createdByCondition;
	}

	/**
	 * 设置创建人ID查询条件
	 * 
	 * @param createdByCondition 创建人ID查询条件
	 */
	public void setCreatedByCondition(Condition<String> createdByCondition) {
		this.createdByCondition = createdByCondition;
	}

	/**
	 * 构造并返回创建时间查询条件
	 * 
	 * @return createdTimeCondition 创建时间查询条件
	 */
	public Condition<LocalDateTime> createdTime() {
		this.createdTimeCondition = new Condition<>();
		return this.createdTimeCondition;
	}
	
	/**
	 * 获取创建时间查询条件
	 * 
	 * @return createdTimeCondition 创建时间查询条件
	 */
	public Condition<LocalDateTime> getCreatedTimeCondition() {
		return createdTimeCondition;
	}

	/**
	 * 设置创建时间查询条件
	 * 
	 * @param createdTimeCondition 创建时间查询条件
	 */
	public void setCreatedTimeCondition(Condition<LocalDateTime> createdTimeCondition) {
		this.createdTimeCondition = createdTimeCondition;
	}

	/**
	 * 构造并返回更新人ID查询条件
	 * 
	 * @return modifiedByCondition 更新人ID查询条件
	 */
	public Condition<String> modifiedBy() {
		this.modifiedByCondition = new Condition<>();
		return this.modifiedByCondition;
	}
	
	/**
	 * 获取更新人ID查询条件
	 * 
	 * @return modifiedByCondition 更新人ID查询条件
	 */
	public Condition<String> getModifiedByCondition() {
		return modifiedByCondition;
	}

	/**
	 * 设置更新人ID查询条件
	 * 
	 * @param modifiedByCondition 更新人ID查询条件
	 */
	public void setModifiedByCondition(Condition<String> modifiedByCondition) {
		this.modifiedByCondition = modifiedByCondition;
	}

	/**
	 * 构造并返回更新时间查询条件
	 * 
	 * @return modifiedTimeCondition 更新时间查询条件
	 */
	public Condition<LocalDateTime> modifiedTime() {
		this.modifiedTimeCondition = new Condition<>();
		return this.modifiedTimeCondition;
	}
	
	/**
	 * 获取更新时间查询条件
	 * 
	 * @return modifiedTimeCondition 更新时间查询条件
	 */
	public Condition<LocalDateTime> getModifiedTimeCondition() {
		return modifiedTimeCondition;
	}

	/**
	 * 设置更新时间查询条件
	 * 
	 * @param modifiedTimeCondition 更新时间查询条件
	 */
	public void setModifiedTimeCondition(Condition<LocalDateTime> modifiedTimeCondition) {
		this.modifiedTimeCondition = modifiedTimeCondition;
	}

	/**
	 * 构造并返回是否删除查询条件
	 * 
	 * @return delCondition 是否删除查询条件
	 */
	public Condition<Boolean> del() {
		this.delCondition = new Condition<>();
		return this.delCondition;
	}
	
	/**
	 * 获取是否删除查询条件
	 * 
	 * @return delCondition 是否删除查询条件
	 */
	public Condition<Boolean> getDelCondition() {
		return delCondition;
	}

	/**
	 * 设置是否删除查询条件
	 * 
	 * @param delCondition 是否删除查询条件
	 */
	public void setDelCondition(Condition<Boolean> delCondition) {
		this.delCondition = delCondition;
	}

	/**
	 * 构造并返回删除人ID查询条件
	 * 
	 * @return delByCondition 删除人ID查询条件
	 */
	public Condition<String> delBy() {
		this.delByCondition = new Condition<>();
		return this.delByCondition;
	}
	
	/**
	 * 获取删除人ID查询条件
	 * 
	 * @return delByCondition 删除人ID查询条件
	 */
	public Condition<String> getDelByCondition() {
		return delByCondition;
	}

	/**
	 * 设置删除人ID查询条件
	 * 
	 * @param delByCondition 删除人ID查询条件
	 */
	public void setDelByCondition(Condition<String> delByCondition) {
		this.delByCondition = delByCondition;
	}

	/**
	 * 构造并返回删除时间查询条件
	 * 
	 * @return delTimeCondition 删除时间查询条件
	 */
	public Condition<LocalDateTime> delTime() {
		this.delTimeCondition = new Condition<>();
		return this.delTimeCondition;
	}
	
	/**
	 * 获取删除时间查询条件
	 * 
	 * @return delTimeCondition 删除时间查询条件
	 */
	public Condition<LocalDateTime> getDelTimeCondition() {
		return delTimeCondition;
	}

	/**
	 * 设置删除时间查询条件
	 * 
	 * @param delTimeCondition 删除时间查询条件
	 */
	public void setDelTimeCondition(Condition<LocalDateTime> delTimeCondition) {
		this.delTimeCondition = delTimeCondition;
	}

}
